import request from '@/request/request.js'

export default {
    // 3.投诉列表-未处理-已处理
    complaintList(params) {
        return request({
            url: '/houseSearch/complaint/list',
            method: 'Get',
            params
        })
    },
    // 4.投诉处理(审核)
    complaintSH(params) {
        return request({
            url: `/houseSearch/complaint`,
            method: 'Put',
            data: params
        })
    }
}